package mysql

import "gorm.io/gorm"

type Cart struct {
	gorm.Model
	UserId    int64 `gorm:"type:int(11);not null;comment:用户Id"`
	ProductId int64 `gorm:"type:int(11);not null;comment:商品Id"`
	Quantity  int64 `gorm:"type:int(11);not null;comment:购买数量"`
}
